import Vue from 'vue';
import App from '@/App';
import store from '@/store';
import '../static/weui/weui.css';

Vue.config.productionTip = false;
App.store = store;
App.mpType = 'app';

const app = new Vue(App);
app.$mount();

export default {
  // 这个字段走 app.json
  config: {
    pages: [],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#fff',
      navigationBarTitleText: 'WeChat',
      navigationBarTextStyle: 'black'
    },
    tabBar: {
      color: '#c8c8c8',
      selectedColor: '#303030',
      backgroundColor: '#fff',
      list: [
        {
          pagePath: 'pages/index/index',
          text: '首页',
          iconPath: './static/image/tab/tab_01.png',
          selectedIconPath: './static/image/tab/tab_01_select.png'
        },
        {
          pagePath: 'pages/discover/discover',
          text: '发现',
          iconPath: './static/image/tab/tab_02.png',
          selectedIconPath: './static/image/tab/tab_02_select.png'
        },
        {
          pagePath: 'pages/member/member',
          text: '我的',
          iconPath: './static/image/tab/tab_03.png',
          selectedIconPath: './static/image/tab/tab_03_select.png'
        }
      ]
    }
  }
};
